<?php include "../public/header.php";?>
<?php include "../public/header_show.php";?>
<body id="xiangqingPage">
<div id="xiangqingBox">
    <div class="page-title">
        <div class="page-title-con">
            <span class="pageshowtitle">详情</span>
            <div class="page-title-opt-list">
                <?php include "../public_flow/flow_show_optbut.php";?>
                <button class="layui-btn layui-btn-sm btn-light marginr5 opt">
                    操作<i class="layui-icon layui-icon-down layui-font-12"></i>
                </button>
                <span id="page-close" class="page-close" onclick="layer_close()">×</span>
            </div>
        </div>
    </div>
    <div class="main-container">

        <div><?php include "../public_flow/flow_show_info.php";?></div>

        <div class="table-box tablenes">
            <div class="title">基本信息</div>
            <table class="layui-table">
                <tbody>

                <tr><td class="tt">人员姓名</td><td id="name" class="tv"></td><td class="tt">员工编号</td><td id="number" class="tv"></td></tr>
                <tr><td class="tt">入职日期</td><td id="intodt" colspan="3" class="tv"></td></tr>
                <tr><td class="tt">所在部门</td><td id="deptid" class="tv"></td><td class="tt">岗位</td><td id="gangid" class="tv"></td></tr>
                <tr><td class="tt">身份证号</td><td id="idcard" class="tv"></td><td class="tt">身份证有效期</td><td id="idcarddt" class="tv"></td></tr>
                <tr><td class="tt">性别</td><td id="sex" class="tv"></td><td class="tt">出生日期</td><td id="birdt" class="tv"></td></tr>
                <tr><td class="tt">民族</td><td id="nation" class="tv"></td><td class="tt">政治面貌</td><td id="mian" class="tv"></td></tr>
                <tr><td class="tt">籍贯</td><td id="jiguan" class="tv"></td><td class="tt">常住地</td><td id="areas" class="tv"></td></tr>
                <tr><td class="tt">家庭住址</td><td id="addr" class="tv"></td><td class="tt">联系电话</td><td id="tel" class="tv"></td></tr>
                <tr><td class="tt">紧急联系人</td><td id="jiner" class="tv"></td><td class="tt">紧急联系人电话</td><td id="jintel" class="tv"></td></tr>
                <tr><td class="tt">学历</td><td id="xueli" class="tv"></td><td class="tt">毕业学校</td><td id="school" class="tv"></td></tr>
                <tr><td class="tt">专业</td><td id="major" class="tv"></td><td class="tt">毕业日期</td><td id="schooldt" class="tv"></td></tr>
                <tr><td class="tt">职称职级</td><td id="zhilevel" class="tv"></td><td class="tt">人员性质</td><td id="nature" class="tv"></td></tr>
                <tr><td class="tt">社保卡号</td><td id="shenum" class="tv"></td><td class="tt">公积金号</td><td id="gongnum" class="tv"></td></tr>
                <tr><td class="tt">银行账户</td><td id="bankname" class="tv"></td><td class="tt">银行账号</td><td id="banknum" class="tv"></td></tr>

                <tr><td class="tt">开户行</td><td class="tv" id="bankkai" colspan="3"></td></tr>
                <tr><td class="tt">备注</td><td class="tv" id="explain" colspan="3"></td></tr>
                </tbody>
            </table>
        </div>

        <div><?php include "../public/upinfo_show.php";?></div>

        <div><?php include "../public_flow/flow_show_flowrelas.php";?></div>


        <div><?php include '../public_flow/flow_show_shenlog.php'?></div>
        <div><?php include '../public_flow/flow_show_talk.php'?></div>
        <div><?php include '../public/opt_browse.php'?></div>
    </div>
</div>
<script>
    var param_id = getQueryVariable('id') || 0;

    layui.use(['form', 'layer', "laytp",'element','dropdown','laypage','table','soulTable'], function() {
        var laypage = layui.laypage, table = layui.table, dropdown = layui.dropdown, form = layui.form, soulTable = layui.soulTable,element = layui.element;

        facade.ajax({url: ask_cert_perru_show, data:{id: param_id}}).done(function(res){
            if (res.code === 2000) {
                var data = res.data.data;
                $("#flowuser").text(data.flowuser);
                $("#flowdept").text(data.flowdept);

                $("#name").text(data.name);
                $("#number").text(data.number);
                $("#sex").text(data.sex);
                $("#idcard").text(data.idcard);
                $("#idcarddt").text(data.idcarddt);
                $("#tel").text(data.tel);
                $("#areas").text(data.areas);
                $("#nature").text(data.nature);
                $("#chanid_name").text(data.chanid_name);
                $("#intodt").text(data.intodt);

                $("#xueli").text(data.xueli);
                $("#major").text(data.major);
                $("#school").text(data.school);
                $("#schooldt").text(data.schooldt);
                $("#explain").text(data.explain);
                $("#birdt").text(data.birdt);
                $("#mian").text(data.mian);
                $("#nation").text(data.nation);
                $("#jiguan").text(data.jiguan);
                $("#addr").text(data.addr);
                $("#jiner").text(data.jiner);
                $("#jintel").text(data.jintel);
                $("#zhilevel").text(data.zhilevel);
                $("#shenum").text(data.shenum);
                $("#gongnum").text(data.gongnum);
                $("#bankname").text(data.bankname);
                $("#banknum").text(data.banknum);
                $("#bankkai").text(data.bankkai);
                $("#deptid").text(data.deptid_name);
                $("#gangid").text(data.gangid_name);
                $("#userid").text(data.userid_name);


                public_flow_show_display(res.data.billinfo);
                public_upload_show_file('upload_files', res.data.files);
                render_from();
            }
        });

        public_get_readsandlog('cert_perru', param_id);
    });



</script>
</body>
</html>




